$OpenBSD: patch-Makefile,v 1.2 2016/05/09 17:03:17 jca Exp $
--- Makefile.orig	Sat May  7 15:07:28 2016
+++ Makefile	Mon May  9 19:02:22 2016
@@ -26,7 +26,7 @@ COMPATOBJ = \
 	strlcat.o\
 	strlcpy.o
 
-OBJ = ${SRC:.c=.o} ${COMPATOBJ}
+OBJ = ${SRC:.c=.o}
 
 all: $(BIN)
 
@@ -51,11 +51,11 @@ dist:
 
 ${OBJ}: config.mk ${HDR}
 
-stagit: stagit.o ${COMPATOBJ}
-	${CC} -o $@ stagit.o ${COMPATOBJ} ${LDFLAGS}
+stagit: stagit.o
+	${CC} -o $@ stagit.o ${LDFLAGS}
 
-stagit-index: stagit-index.o ${COMPATOBJ}
-	${CC} -o $@ stagit-index.o ${COMPATOBJ} ${LDFLAGS}
+stagit-index: stagit-index.o
+	${CC} -o $@ stagit-index.o ${LDFLAGS}
 
 clean:
 	rm -f ${BIN} ${OBJ} ${NAME}-${VERSION}.tar.gz
